package com.dubito.fresco

import android.content.Context
import androidx.startup.Initializer
import com.facebook.drawee.backends.pipeline.Fresco

/**
 *author: liliang
 *date: 2020/8/25 10:55 AM
 *
 */
class AppInitializer: Initializer<Unit> {
    override fun create(context: Context) {
        Fresco.initialize(context)
    }

    override fun dependencies(): List<Class<out Initializer<*>>> {
        return emptyList()
    }
}